package top.whysu.edevice.dto.app;

import javax.validation.constraints.NotNull;

/**
 * app请求参数
 */
public class AppRequestDTO<T> {
    /**
     * 协议标识符。必填
     */
    private Integer seq;
    /**
     * 版本号
     */
    private String version;
    /**
     * accessToken
     */
    private String accessTokken;
    /**
     * 账号
     */
    private String userName;
    /**
     * 参数
     */
    private T params;

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getAccessTokken() {
        return accessTokken;
    }

    public void setAccessTokken(String accessTokken) {
        this.accessTokken = accessTokken;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public T getParams() {
        return params;
    }

    public void setParams(T params) {
        this.params = params;
    }
}
